package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("member_package_item")
public class MemberPackageItem implements Serializable {
    private static final long serialVersionUID = 1L;


    //@ApiModelProperty("明细主键ID")
    private Long itemId;

    //@ApiModelProperty("套餐主键ID")
    private Long configId;

    //@ApiModelProperty(value = "时间周期值", required = true, example = "12")
    private Integer timePeriod;

    //@ApiModelProperty(value = "周期单位", required = true, example = "MONTH")
    private String periodUnit;

    //@ApiModelProperty(value = "原价", required = true, example = "199.00")
    private BigDecimal originalPrice;

    //@ApiModelProperty(value = "现价", required = true, example = "99.00")
    private BigDecimal currentPrice;

    //@ApiModelProperty("文字描述")
    private String itemDesc;

    //@ApiModelProperty("备注")
    private String remark;

    //@ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    //@ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    //@ApiModelProperty("状态 0无效 1有效")
    private Integer state;
}
